projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2443ea0
)
[IA64] correct mistake from previous patch
author
awilliam@xenbuild.aw
<awilliam@xenbuild.aw>
Mon, 20 Mar 2006 16:33:38 +0000
(09:33 -0700)
committer
awilliam@xenbuild.aw
<awilliam@xenbuild.aw>
Mon, 20 Mar 2006 16:33:38 +0000
(09:33 -0700)
Oops, mis-corrected the previous patch, Kan was correct.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
xen/arch/ia64/xen/vcpu.c
patch
|
blob
|
history
diff --git
a/xen/arch/ia64/xen/vcpu.c
b/xen/arch/ia64/xen/vcpu.c
index 028660e6347d9fd5f3295fdff74b5590b46be589..63034b332d87718ea6f95026df7f6e257ce29dfa 100644
(file)
--- a/
xen/arch/ia64/xen/vcpu.c
+++ b/
xen/arch/ia64/xen/vcpu.c
@@
-98,10
+98,9
@@
IA64FAULT
vcpu_set_gr(VCPU *vcpu, unsigned long reg, UINT64 value, int nat)
{
REGS *regs = vcpu_regs(vcpu);
- long sof;
+ long sof
= (regs->cr_ifs) & 0x7f
;
if (!reg) return IA64_ILLOP_FAULT;
- sof = (regs->cr_ifs) & 0x7f;
if (reg >= sof + 32) return IA64_ILLOP_FAULT;
setreg(reg,value,nat,regs); // FIXME: handle NATs later
return IA64_NO_FAULT;